package com.qfedu.edu.seckill.aclservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qfedu.edu.seckill.po.Perm;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaobobo
 * @since 2025-01-09
 */
@Repository
public interface PermMapper extends BaseMapper<Perm> {

    /**
     * 通过用户id查询权限
     * @param userId
     * @return
     */
    List<Perm> selectPermsByUserId(String userId);
}
